package com.sun.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sun.pojo.Heat;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.Collection;
import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface HeatMapper extends BaseMapper<Heat> {
    List<Heat> selectAll();
    List<Heat> selectDate(String name);
    Collection<Heat> selectPopuTop10();
    Collection<Map<String, Integer>> selectNoYear();
    Collection<Map<String, Integer>> selectDegree();
    Collection<Map<String, Integer>> selectYear();

}
